Do you have a backup disk? If it is bootable clone, just boot from the clone and use it to format your SSD and restore the backup to the SSD.
If you do not have OS X at the moment (via a clone), you will want to do a Network Recovery
<http://osxdaily.com/2014/12/14/reinstall-os-x-mac-internet-recovery/>
boot holding Command-Option-R to start network recovery.
Once you have the recovery software running, you can start Disk Utility and partition/format your disk as a GUID partition map with a Mac OS Extended Journaled file system.
if you have a Time Machine backup, you may be able to restore it from the internet recovery.
If you have another kind of backup, you may need to use Internet Recovery to install the original OS X that came with your Mac, and then you can boot into your Mac and use Applications -> Utilities -> Migration assistant to restore your personal stuff from the backup disk, or use the utility that created the backup to restore your files.
If you have another Mac, you could put the SSD in an external enclosure and format it, then if you have a backup, restore it using the other Mac. At the minimum, you could install a clean version of OS X either via a saved copy of the desired OS X installer, or via the App Store using whatever version of OS X you have in your Purchases tab, or install El Capitan.